package com.tutu.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tutu.commons.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Program: b2c-cloud-store
 * @Description:
 * @Author: JK.TuTu
 * @Version: 1.0
 * @Create: 2022-12-15 10:44
 **/
@Mapper
public interface ProductMapper extends BaseMapper<Product> {

    /**
     * 通过类别id集合查询商品信息
     * @param categoryIds
     * @return
     */
    List<Product> getProductByCategoryIds(@Param("categoryIds") List<Object> categoryIds);
}
